package com.briup.jz.service;

import com.briup.jz.bean.AccountEmployee;
import com.briup.jz.bean.extend.AccountEmployeeExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

/**
 * @program: jz
 * @description: 员工业务接口
 * @author: catmilko
 * @create: 2020/6/12 15:57
 **/

public interface IAccountEmployeeService {

     List <AccountEmployee> findAll();

    List<AccountEmployeeExtend> findAllWithOrderAndUser();

    AccountEmployee findById(long id);

    void saveOrUpdate(AccountEmployee accountEmployee) throws CustomerException;

    void deleteById(long id) throws CustomerException;


}
